Crashed, move write port outside the lock