Fix commit duration and cancel status

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>