added timeout for iterative commands, fixed ping to pass along sender