Added _sleep in common.c.