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: a0232e9bbfc4cf744623e5943c7fb6aa502696ad
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine