port carbon plugin to support retries in stats pusher, replaces old non-functional retry handling