Added timeout and kill for assemblies which run too long.