SERVER-14626 Fix race between ReplicationExecutor::shutdown and the network thread.

This patch prevents a network callback that completes after ReplicationExecutor::shutdown() has been
called from being executed two times.