Revert "Run registration on connect in own loop."

This reverts commit 63a74098048884959080363389d5c7ac36ff5972.