add post for timeout error in ruby api call