channel: Use frame deferral API for safe sleep.