added optional timeout parameter (in seconds)

‘timeout’:30 or ‘timeout’:’30’