sleep for one frame only