avoid NullPointerException when there's a timeout. Just log the error and return 0 as timestamp, so request gets rescheduled