The TaskScheduler used for periodically registering is removed from the application context and moved to the ApplicationRegistrationListener. see #478