[frontend] handle ActionInProgressException properly
This happens for example when trying to delete a build, that is
currently in the `running` state.
We want to specifically return such error message, instead of the
genereral one ("Request wasn't successful, there is probably
a bug in the API code.")