This is totally true, it also hapenned to me many times. Lategame is obviously not well implemented and needs some fix.
When your down by few points and game is ending, all your team does is foul and then shoot 3pointers with 5sec possessions. This should really be fixed because makes the engine look bad and almost always makes loosers in close games mad lol.