Implemented -maxTime option.