Stop listening for os signal after handling it once. Fixes #18. ish.