Move DMS timeout to a #define.
Increase DMS timeout to 5 seconds.