Add context flush resolver.

Signed-off-by: Toha <tohenk@yahoo.com>