Removed #reason from Agent
Added timeout to Agent