Gravitational waves detection via sequential analysis