disabling setInterval loop