Add stop method in groovy to greenmail class