added sleep to compconn