Changed get_status to not block indefinitely.