Bugfix prevent receiving multiple packets