Add retry capabilities to JSON requests

Add retry capabilitiy to JSON request using a wrapper method.
Update scrobbling methods to use wrapper.