mysql module fixed connection timeout issue and transaction