implementation do not behave like this statement. If so then you need to return response of call, instead you check if it failed and otherwise it return zero. It can be problem with methods like status, not?