Adds configurable Timeout period

* Adds configurable Timeout period after which timing will not be sent
to Google Analytics.
* Adds Unit Tests for configurable Timeout period.