Better server and script stop/restart method:
Sending term signal before screen termination to both parent and children processes to allow a clean exit.