WIP: Honor KM_NOSLEEP flag.