Self-Triggering in Nonlinear Systems: A Small Gain Theorem Approach