Add stop method for CoAP server endpoint