Gracefully handle connection errors when polling (#48) * Handle common connection errors gracefully * Cleanup repository Correct readme command Add support for .env configuration Bump docker image to 3.12-alpine Fix `docker run` stop signal to avoid waiting shutdown timeout