How can the father get out of paying child support?

That will happen if the child gets adopted not otherwise. Even if you give up your parental rights you still have to pay.