Fix bug when server is stoped clients don't stop

Change atom to const
