cooker: Ensure parser is cleaned up
During cooker shutdown, its possible the parser isn't cleaned up. Fix
this (which may partially explain why threads were left hanging around
at exit).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>