Flask gunicorn psycopg2 requests