#125 added loop delay

@fklassen Can you review this?