I messed up the handlers reference in the last commit so the events were not properly attached. Changed it to use global variables for now.
Gracefully handle http-server start error & cleanup logs