Close all entity managers to avoid resource leaks