Cancel request  when timeout exception thrown. Remove lock when request is canceled