force blocking mode and output return code on auth error