A bug fix for auto-recovering data source.

As it is at the moment, a hanging attemptReconnect invocation will probably crash if the data source got dealloced in the meantime.