not sure what's changed
addressed #318. Also removes a weird poll endpoint that did nothing
Merge pull request #320 from mikedewar/fix#318

Fix#318