Fix TopicRouter to
a. immediately ack a message instead of storing in inFlightMessage map,
if no subscribers are attached to the topic.
b. decrement the subscriber count of inFlight messages, if messages have
been sent to a subscriber which has detached, and thus not going to ack
the message anymore.