pre-receive hook to kill app