fix reading packets past the first poll with mmap MAP_SHARED