Temporary hack to share handles between processes sharing the same