fix deadlock in simple_action_server.py (fix #4)
Test for deadlock in simple_action_server.

Thanks to @dirk-thomas for code review + fixes.