Reconnect to the database if connection have been closed due to fatal error (lost connectivity for instance)