Hide spinner as soon as response is received from server