Resolving possible NullPointerException during disconnect cases.

During Connection Disconnect cases, the getTableName method can return null.
In such cases, an unprotected access to the return value can result in NullPointerException.
This fix addresses such a possibility.

Change-Id: Ia05c868dfd805af37f4a5fe9156d54582c753f1f
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Merge "Resolving possible NullPointerException during disconnect cases." into topic/schema