Revert "BUG-5742: Race condition when creating Application Peer on clustering"