There are no restrictions on the number of attempts for the IIT JAM. You can take the exam as many times as you want.