Don't assign @connection until recovery has fully completed, as otherwise @connection#open? might return true before a connection has fully recovered, suggesting that consumers should use resources which have not yet been recovered
Merge pull request #55 from cheald/fix_recovery_race_condition

Don't assign @connection until recovery has fully completed