It may happen that you start opening a crate, then leave the game, and when you come back some hours later you find the crate was never opened. Typically, that is because of a slow or spotty data connection.
The best fix is to give the game a few seconds to sync after you start opening a crate. You should see a small "Saving" indicator in the lower right -- wait for it to finish before you exit the game.