CXX-184 Add MaxTimeMs support to command helpers