Explicitly releasing modules on context disposal

Since both scopes and childcontainer didn't work