private static SockJsServiceFactory closeService() {
final SockJsConfig config = SockJsConfig.withPrefix("/close").build();
return new AbstractSockJsServiceFactory(config) {
@Override
public SockJsService create() {
return new CloseService(config);
}
};
}