Add 2 seconds timeout when starting rails apps