Adds APIs to check the status of a service connection.
Fixes bug that caused a disconnected service to be reused.
Fixes bug in DefaultSubscriber that used the wrong class for logging.