closing direct rest-api from facade too on close()