Remove last item from synchronous queue