mpudpm unlock mutex before calling select()