Fix extra connection open bug; Fix #56