fix deadlock in simple_action_server.py

original patch #5 provided by @miguelsdc