[modulehandler] add a check for cleared messages to stop further processing of the cleared message