The server process now stalls on errors when posting a request with media. Needs proper error handling