Sleep after aria2rpc call