I don't think reload_retry() returns anything. It would be clearer to omit the 'return' here, since the value is undefined and ignored.