JVMCBC-22: Return immediately when no buckets are opened on disconnect.

Change-Id: Ic431fb5cc44042c4dd557f8217fc331f933664ac