plugins: add max retry logic for rild connect

This change adds a maximum retry count for connecting to
rild.  After ~30s, rild will give up trying to connect.
This changes the current behavior which will retry forever.
plugins: add max retry logic for mtk rild connect

This change adds a maximum retry count for connecting to
rild.  After ~30s, rild will give up trying to connect.
This changes the current behavior which will retry forever.
Merge pull request #112 from tonyespy/rild-retry-limit

Merged.