It is a kind of time out but with a twist. Put your child in the bathroom so that he can work through the reason of his tantrum and when he feel calmer ask him to flush the toilet and let the anger go away. It is a good way to deal with their frustration .