reconnect after db timeout