Add sleep

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>