Fix potential race in the SSL conduit