Attempt to reconnect to database is connection is closed.