Added configurable timeout and retry values to rake task