ability to stop a server and update started state and -1 pid in db