Basic flow control functional and system terminates correctly