Flask server introduced a couple of problems, e.g., pending
sockets when an experiment was shut down.
This patch solves this and improves stability and performance
of the emulated OpenStack APIs.
Increased PIP timeout in Dockerfile to make build more
robust in CI environment.