#include <FaspConnectionChannel.h>
You should throw this to indicate your connection closed (most likely unexpectedly).