Move state loop sleep to the end of the loop.
Move state loop sleep to the end of the loop.

This means we write the state once immediately on startup.

tmuic/mlat-server,mutability/mlat-server,tmuic/mlat-server,mutability/mlat-server