persistent connection to backend