run server and client in parallel