fix freezing service calls when returning false (fix #168)