Fixed issue with disposed objectcontext.