Simplify IPC connect function