added back resourceTimeout