added a wait so that controller's signal handler waits for the jvm to exit after forwarding the signal
Merge pull request #6 from VertiPub/kk-CP-98-wait-for-jvm

added a wait so that controller's signal handler waits for the jvm to ex... Taking it as an OK from Josh...