changed the longprocesses from backgroundprocess to Synchronous

The backgroundprocess as implemented doesn't work very well. We should
change this to a rabbitmq (see #145)