Update windows_batch to support the timeout option