Remove sleep as it seems to impact behaviour