added function closeTimer and added call function setTimer in the end of remove calculation function [skip CI]
added function closeTimer and added call function setTimer in the end of remove calculation function [skip CI]


Former-commit-id: af596d0078b54039ca577d33fda2970e14a26251 [formerly a2987de3e8f3a9a37f4d092d9356c11739a964c2] [formerly a2987de3e8f3a9a37f4d092d9356c11739a964c2 [formerly a0232e9bbfc4cf744623e5943c7fb6aa502696ad]]
Former-commit-id: 0d5d01a5a4772ce7d01d6d21ee9d859cd43125fb
Former-commit-id: a781a8f696167996467e67af7ec60ce835018c38
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine