De-race EventConnection::close to fix Travis