Automatically reconnect on database disconnection.  #35
Merge origin/master