Adds reconnect support to a part of the celerybeat scheduler