Added some sort of locking to prevent packet mangling