split newMuxConn to seperate fn