Replace undefined to null to clear timeout handle for duration check.

DCO-1.1-Signed-Off-By: Kunmyon Choi <kunmyon.choi@lge.com>