feat(flax): start flax only after server is ready
This will delay starting Flax until the server is up and accepting connections -- to prevent the Flax rebuild failing, since Flax starts requesting data from Kotahi to do a rebuild when it starts up. This MR goes together with flax!39 (merged)