Cannot syswrite after abort but before task switch