[jmdb] Adding a return value to the ping task