task engine altered elapsed time difference logic to conform with python 2.6