auto reconnection databse when this link has closed or disconnection. fixed issue #12