Exception:Invalid monitor handle