Switched Core to ThreadPool for enhanced security
Added try/catch in Handler::run()