Split server's started state into reading/writing.

- Make the bot keep more precise track of the state.