release uncaught exception listener when server is stopped - fixed #15