Only keep 5 keys in the queue