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