1) Changed ErrorSim to be repeating and to allow different run modes at
each request
2) ConnectionManageESim: all modes will allow the thread to stay alive
until it has reached the end
3) Corrected the delay in delayed mode