5ffa3b1c46
Motivation: We should not try to call bind if registration failed. Modifications: Only call doBind0(...) when the registration not failed. Result: Not try to to bind if the registration failed.