Micro package which manages database reconnection