ALLJOYN-2105 Fix race condition between adding and removing virtual endpoints.

Change-Id: I1f7759ba34f932c147de8b8444eb5c31b55ba36e
ALLJOYN-2078 Exit DoStopListen reload loop if the TCPTransport main thread is not running.

Change-Id: Ie4e84b03c5992417ba1f07c643585d597a68909b
ALLJOYN-2105 Fix check for IsStopping

Change-Id: I2a5bc4620b57a6263214fb11f0556fa68847cd0f