try catch on emtpy packet