fix. dependencies in run.py - launch only flask runtime.

Change-Id: Ib2c89ede800f74e428a9589cd7a0b8c940c3597c
fix. if the broker has no item to pop continue.

Change-Id: I8921f543357f226e536ea9c830753c4367a15563