add a new parameter to specify a timeout to wait a response from the Simulator