Force all entity manger operations to a single thread