Fix a wait wakeup logic error

Also scan status list less
Add delete function to ll