sleep after server stop added