Removed dangerous pointer magic

Signed-off-by: Christina Quast <chrysh.ng+github@gmail.com>
rx worker thread returns on paket pointing to null

Signed-off-by: Christina Quast <chrysh.ng+github@gmail.com>