make sure that message processing is enabled on graceful shutdown