Flow monitoring implementation

Implements flow monitoring #261 with pause/resume