Fixed typo.
Added documentation about timeouts.
Refactored out checkMultiArgs.