added return json 200
close connection after 5 minutes