fix bug: "Error: Not running" when stop server

fix bug: when use command "pomelo stop" to stop server, will be throw an
exception: "Error: Not running"