Put backend server into error state for specified timeout when it returns given error code.
