A simple service manager for long running polling processes in a web client