Correctly end webhook process