(fixes #3) Don't release the connection which is already released.