set a timeout when accessing the GCM servers