ct:sleep/1 must be used instead of timer:sleep/1