add a new parameter to specify a timeout to wait a response from the Simulator
Merge pull request #45 from heyzooi/master

timeout parameter