make inprocess connection work