date the removal time in the schedule without deleting
    const scheduleKey = `${id}-${connectionId}`;
    playerCollisionRemovalSchedule.set(scheduleKey, {
      keyId: id,
      playerId: connectionId,
      removalTime: Date.now() + collisionRemovalDelay,
    });

    keyPress(keyObject);
  }

  function handleCollisionLeave(id, connectionId) {
    const keyObject = keyboard.get(id);
    schedulePlayerCollisionRemoval(id, connectionId);
    keyRelease(keyObject);
  }

  function schedulePlayerCollisionR