catch post requests
remove listener
catch errors when emitting event