apnsclient: log on unmarshal error
Fix: Race condition on persistentclient state