next attempt to fix opensocketrepl