work manager and leaking sample