Bugfix LoggingDeadline
Don't try to register/unregister too early.