Document time unit used for timeout in javadoc.
Merge pull request #2873 from jotomo/milliseconds-timeout

Document time unit used for timeout in javadoc.