The best way to deal with an ENTP you are working with is to befriend him and keep his mind occupied. For example if you gave him an important part of the task you are doing, that would probably draw in interest. If that thing also happens to be so challenging that most other people wouldn't touch it, then the ENTP will eat it up.
On the other hand if you try to manipulate the ENTP in some other way, they will probably catch on to what you are doing, and see it as a reason to get you back in some way. Your best bet is to befriend them. Show you can relax and laugh at their jokes, and also show you value their input and intelligence.