add configuration for bonecp to avoid db connection close unknown.