1 . handled 500 exception for db auto reconnect