'Removes the job store by the given alias from this scheduler.
:param close: ``True`` to close the job store after removing it
:type alias: str'

def remove_jobstore(self, alias, close=True):

    self._jobstores_lock.acquire()
    try:
        jobstore = self._jobstores.pop(alias)
        if (not jobstore):
            raise KeyError(('No    such    job    store:    %s' % alias))
    finally:
        self._jobstores_lock.release()
    if close:
        jobstore.close()
    self._notify_listeners(JobStoreEvent(EVENT_JOBSTORE_REMOVED, alias))
