Use process sentinel rather than filter

It is more elegant.