[#51176483] Handle timeout errors when deleting alpine workfiles.

In order to be able to delete an alpine work flow when running
chorus in development mode, two things need to happen:
- You need to run alpine locally
- You need to have either 'config.threadsafe!' or 'config.allow_concurrency = true'
  in your 'config/environments/development.rb'.
[#51176483] Refactor Alpine::API tests and implementation.