sleep for a ms in between