Set the expects flags to clock_nanosleep