added lock to /get-status