Added timeout parameter to core.process