use sigterm instead of sigkill to kill the server

sys.exit() causes a hang for some reason but
os._exit() does not

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>