Remove code for handling exitmode==3, which doesn't exist anymore