delay each call with setTimeout function