App closes DB Connection now if it gets paused.