Start/stop synchronization in server through listeners
Timeout for graceful stop (after that kill is used instead)