Put monitor inside twisted module