solve runtime error

The ObjectContext instance has been disposed and can no longer be used
for operations that require a connection