Fixes option detection for timeout value.