Add interrupt function for HTTPSWebAPI