Re-add error event listener whenever server is started.