Revert conn lock to single lock, because rwlock is stupid