improve starting of the server
Merge pull request #5 from koemei/improve_server_start

improve starting of the server