(/=) Make sure SEND request are answered in order

-this makes sure that if the connection breaks down after some point,
the databases are still in a consistent state, as the max ids agree
(/=) Check if connected before sending, if not, connect again.