Jobs dropdown in mini graph should close when we receive an error
According to this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/29369 when something goes wrong with the request we do not close the dropdown, forcing the user to make extra clicks.
We should close it when we receive an error.